package com.cbgolf.oa.entity;

/**
 * Created by Administrator on 2017/9/3.
 */

public class MessageBean {

  public String gender;
  public String id;
  public String messageContent;
  public String messageType;
  public String pushTime;
  public String pushTimeType;
  public String send;
  public String[] identitys;
  public String[] identityNames;
  public boolean haveNotRead;

  public static class Builder {

    MessageBean bean;

    public Builder() {
      bean = new MessageBean();
    }

    public Builder setId(String id) {
      bean.id = id;
      return this;
    }

    public Builder setError(String error, int errorCode) {
      bean.errorCode = errorCode;
      bean.errorMsg = error;
      return this;
    }

    public Builder setIsNoData(boolean isNoData) {
      bean.isNoData = isNoData;
      return this;
    }

    public MessageBean build() {
      return bean;
    }
  }

  public boolean isNoData;
  public String errorMsg;
  public int errorCode;


  public String cotent;
  public String createTime;
  public String messageId;
  public String queryId;
  public String read;
  public String title;
  public String type;

}
